[NTG-context] Re: Inline math spacing

2023-12-04 Thread Hans Hagen via ntg-context
On 12/4/2023 2:42 PM, Alexandre Christe wrote: Hi Hans, Thanks for your answer. It helps a lot. Would there be a way to only add space when inline math is not followed by punctuation, i.e., when inline math is followed by a space? A. Christe Le 4 déc. 2023 à 14:08 +0100, Hans Hagen

[NTG-context] Re: Inline math spacing

2023-12-04 Thread Alexandre Christe
Hi Hans, Thanks for your answer. It helps a lot. Would there be a way to only add space when inline math is not followed by punctuation, i.e., when inline math is followed by a space? A. Christe Le 4 déc. 2023 à 14:08 +0100, Hans Hagen , a écrit : > > \setupmathematics[textdistance=.25e

[NTG-context] Re: Inline math spacing

2023-12-04 Thread Hans Hagen via ntg-context
On 12/4/2023 6:43 AM, Alexandre Christe wrote: Hi, Here’s a MWE: \setupinterlinespace[line=3ex] \definefontfeature[default][default][lnum=yes,tnum=yes] \usetypescriptfile[alegreya_libertinus] \setupbodyfont[alegreya-light,ss,10pt] \setupmathematics[autopunctuation={all}] % math definitions

[NTG-context] Re: Inline math spacing

2023-12-03 Thread Alexandre Christe
ote: > > Dear list, > > > > I’m facing some strange spacing with inline maths. Sometimes the space > > is ok (like around the first two fractions), but sometimes it is way too > > little. Do I miss to configure something? > your spacing is little between words too

[NTG-context] Re: Inline math spacing

2023-12-03 Thread Hans Hagen
On 12/3/2023 10:31 PM, Alexandre Christe wrote: Dear list, I’m facing some strange spacing with inline maths. Sometimes the space is ok (like around the first two fractions), but sometimes it is way too little. Do I miss to configure something? your spacing is little between words too

[NTG-context] Inline math spacing

2023-12-03 Thread Alexandre Christe
Dear list, I’m facing some strange spacing with inline maths. Sometimes the space is ok (like around the first two fractions), but sometimes it is way too little. Do I miss to configure something? Thanks in advance, A. Christe

[NTG-context] Re: Inline mathematics is stretched

2023-10-30 Thread Hans Hagen via ntg-context
On 10/30/2023 8:05 AM, Mia Bikey wrote: Yes well of course no issue arises if I just change the whole font. But I wanted to keep using the mono font thus reporting issues with it. In that case you have to go for flushleft \setupalign[verytolerant,nothyphenated,flushleft] because otherwise tex

[NTG-context] Re: Inline mathematics is stretched

2023-10-29 Thread Hans Hagen via ntg-context
On 10/29/2023 1:33 PM, Mia Bikey wrote: Hi, I was using \setupalign[verytolerant,stretch] so that the mono font does not go inside the right inline image but after using that command the inline math seems to spread. how about just using this \setupbodyfont[concrete] \starttext When $a, b

[NTG-context] Inline mathematics is stretched

2023-10-29 Thread Mia Bikey
Hi, I was using \setupalign[verytolerant,stretch] so that the mono font does not go inside the right inline image but after using that command the inline math seems to spread. Here is a Minimal Working Example: ConTeXt ver: 2023.09.26 18:19 LMTX \setupbodyfont[10pt, mono] This is how

[NTG-context] Re: Mono font goes inside right inline image

2023-10-28 Thread Mia Bikey
Thanks, that works great. On Sat, Oct 28, 2023 at 7:10 PM Hans Hagen wrote: > On 10/28/2023 2:25 PM, Henning Hraban Ramm wrote: > > Am 28.10.23 um 14:17 schrieb Mia Bikey: > >> Hi, > >> I was using mono font as my default font but it appears to have issues > &g

[NTG-context] Re: Mono font goes inside right inline image

2023-10-28 Thread Hans Hagen
On 10/28/2023 2:25 PM, Henning Hraban Ramm wrote: Am 28.10.23 um 14:17 schrieb Mia Bikey: Hi, I was using mono font as my default font but it appears to have issues with right side inline images. Here is a Minimal Working Example: ConTeXt  ver: 2023.09.26 18:19 LMTX \setupbodyfont[mono

[NTG-context] Re: Mono font goes inside right inline image

2023-10-28 Thread Mia Bikey
to have issues > > with right side inline images. > > > > Here is a Minimal Working Example: > > > > ConTeXt ver: 2023.09.26 18:19 LMTX > > > > \setupbodyfont[mono] > > > > \starttext > > > > Image on the right side gets issues. > > \pla

[NTG-context] Re: Mono font goes inside right inline image

2023-10-28 Thread Henning Hraban Ramm
Am 28.10.23 um 14:17 schrieb Mia Bikey: Hi, I was using mono font as my default font but it appears to have issues with right side inline images. Here is a Minimal Working Example: ConTeXt  ver: 2023.09.26 18:19 LMTX \setupbodyfont[mono] \starttext Image on the right side gets issues

[NTG-context] Mono font goes inside right inline image

2023-10-28 Thread Mia Bikey
Hi, I was using mono font as my default font but it appears to have issues with right side inline images. Here is a Minimal Working Example: ConTeXt ver: 2023.09.26 18:19 LMTX \setupbodyfont[mono] \starttext Image on the right side gets issues. \placefigure[right]{}{\externalfigure[dummy

Re: [NTG-context] Inline framed verbatim text

2023-05-19 Thread Aditya Mahajan via ntg-context
On Fri, 19 May 2023, Jeroen via ntg-context wrote: > Many thanks. Is there a proper way to add some space (a couple of pt or em) > to the left and the right of the text itself so the frame does not get so > close to the text? \framed[loffset=0.2ex, roffset=0.2ex]{...} Also see:

Re: [NTG-context] Inline framed verbatim text

2023-05-19 Thread Jeroen via ntg-context
chrieb am 19.05.2023 um 14:22: > > In order to get some inline framed verbatim text, I have in the past > > always used the following: > > > > \starttext > > > > This is an > > \inframed > > [frame=on, > > corner=00, > > radius=2mm,of

Re: [NTG-context] Inline framed verbatim text

2023-05-19 Thread Wolfgang Schuster via ntg-context
Jeroen via ntg-context schrieb am 19.05.2023 um 14:22: In order to get some inline framed verbatim text, I have in the past always used the following: \starttext This is an \inframed   [frame=on,   corner=00, radius=2mm,offset=-1.5pt]   {\ttx \bf example} \stoptext Since this has come-up

[NTG-context] Inline framed verbatim text

2023-05-19 Thread Jeroen via ntg-context
In order to get some inline framed verbatim text, I have in the past always used the following: \starttext This is an \inframed [frame=on, corner=00, radius=2mm,offset=-1.5pt] {\ttx \bf example} \stoptext Since this has come-up more and more often, I created the following: \define[1

Re: [NTG-context] [Bug] Two-column text: Larger top spacing in inline images

2022-06-27 Thread Max Chernoff via ntg-context
Not a bug, although it may be unexpected. It's a grid snapping thing. Try: \def\example{% Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum.

[NTG-context] [Bug] Two-column text: Larger top spacing in inline images

2022-06-26 Thread Marcin Ciura via ntg-context
Dear Hans and ConTeXt developers, When you compile the following code with ConTeXt ver: 2021.10.28 10:19, you will see that: * in 1-column text the top spacing of the circle is normal, * in 2-column text, the top spacing of the circle is too large. Here is the link to the output PDF:

Re: [NTG-context] Nested $$ in inline math

2021-12-13 Thread Hans Hagen via ntg-context
On 12/13/2021 6:57 PM, Aditya Mahajan via ntg-context wrote: On Mon, 13 Dec 2021, Hans Hagen via ntg-context wrote: which indeed makes \starttext \mathematics{$text$} \stoptext a puzzle Isn't that effectively: $\relax$text$\relax$ which prevents the $$ lookup. Indeed, you solved

Re: [NTG-context] Nested $$ in inline math

2021-12-13 Thread Aditya Mahajan via ntg-context
On Mon, 13 Dec 2021, Hans Hagen via ntg-context wrote: > which indeed makes > > \starttext > \mathematics{$text$} > \stoptext > > a puzzle Isn't that effectively: $\relax$text$\relax$ which prevents the $$ lookup. Aditya

Re: [NTG-context] Nested $$ in inline math

2021-12-13 Thread Hans Hagen via ntg-context
On 12/13/2021 4:35 PM, Taco Hoekwater via ntg-context wrote: On 13 Dec 2021, at 16:15, Jack Hill via ntg-context wrote: Dear list, I was playing around and found that nesting $$s inside of \m blocks typesets the code as text. I can't find anything about this on the wiki or in the

Re: [NTG-context] Nested $$ in inline math

2021-12-13 Thread Taco Hoekwater via ntg-context
> On 13 Dec 2021, at 16:15, Jack Hill via ntg-context > wrote: > > Dear list, > > I was playing around and found that nesting $$s inside of \m blocks typesets > the code as text. > I can't find anything about this on the wiki or in the math-mkiv manual, so > I'm asking whether this is

[NTG-context] Nested $$ in inline math

2021-12-13 Thread Jack Hill via ntg-context
Dear list, I was playing around and found that nesting $$s inside of \m blocks typesets the code as text. I can't find anything about this on the wiki or in the math-mkiv manual, so I'm asking whether this is supported behaviour or just a bug? Jack \starttext % All the same \mathematics{math

Re: [NTG-context] Outlined text (from MP) inline in ConText has incorrect baseline (i.e. no depth)

2021-10-12 Thread Rudd, Kevin via ntg-context
hat the text has depth (descenders). There's a previous post that mentions using textcommand for titles to ensure that the appropriate baseline is used but I haven't figured out why that would work; for my purposes, I'm insert the text inline so that solution wouldn't work here. I have included a

Re: [NTG-context] Outlined text (from MP) inline in ConText has incorrect baseline (i.e. no depth)

2021-10-08 Thread Rudd, Kevin via ntg-context
is used but I haven't figured out why that would work; for my purposes, I'm insert the text inline so that solution wouldn't work here. I have included a MWE that demonstrates the problem; I've tried putting both the text and the outlined text in a box, then adjusting the outlined text by the de

Re: [NTG-context] Outlined text (from MP) inline in ConText has incorrect baseline (i.e. no depth)

2021-10-08 Thread Hans Hagen via ntg-context
to ensure that the appropriate baseline is used but I haven't figured out why that would work; for my purposes, I'm insert the text inline so that solution wouldn't work here. I have included a MWE that demonstrates the problem; I've tried putting both the text and the outlined text in a box

[NTG-context] Outlined text (from MP) inline in ConText has incorrect baseline (i.e. no depth)

2021-10-07 Thread Rudd, Kevin via ntg-context
haven't figured out why that would work; for my purposes, I'm insert the text inline so that solution wouldn't work here. I have included a MWE that demonstrates the problem; I've tried putting both the text and the outlined text in a box, then adjusting the outlined text by the depth of the text

Re: [NTG-context] Inline Fractions

2021-01-25 Thread Hans Hagen
On 1/25/2021 1:58 PM, Johann Birnick wrote: Recently inline fractions stopped working correctly. For example symbol spacing, sub-/superscripts, the line is too short,... You can see the 3 named problems and how they sometimes appear and sometimes not in this two fractions: \starttext $\frac

[NTG-context] Inline Fractions

2021-01-25 Thread Johann Birnick
Recently inline fractions stopped working correctly. For example symbol spacing, sub-/superscripts, the line is too short,... You can see the 3 named problems and how they sometimes appear and sometimes not in this two fractions: \starttext $\frac{\sin(x)}{16 \pi \epsilon_0 c^2 m_e^2} \frac

Re: [NTG-context] Bug inline math in lmtx

2019-12-14 Thread Hans Hagen
On 12/14/2019 9:06 PM, Otared Kavian wrote: Hi Hans, It seems that the bug which was reported recently is again there: inline math does not show some symbols (lmtx version 2019.12.12 19:35). However mkiv version 2019.12.12 19:23 MKIV beta fmt: 2019.12.14 works fine. Here is a minimal

[NTG-context] Bug inline math in lmtx

2019-12-14 Thread Otared Kavian
Hi Hans, It seems that the bug which was reported recently is again there: inline math does not show some symbols (lmtx version 2019.12.12 19:35). However mkiv version 2019.12.12 19:23 MKIV beta fmt: 2019.12.14 works fine. Here is a minimal example. \starttext Let $f(x) := \sum_{n \geq 1}2

[NTG-context] inline fractions

2019-06-26 Thread Alan Bowen
The following mwe \definefontfeature[fraction][frac=yes] \definehighlight[textfraction][style={\feature[+][fraction]}] \starttext a fraction \m{\frac{1}{n}}, \textfraction{1/n}, \vulgarfraction{1}{n} in the text \stoptext works for all but \textfraction in the latest beta (luatex, luametatex).

Re: [NTG-context] Inline math with \int and \sum exhibits nonstandard behaviour

2019-05-16 Thread Eric Scmidt
Since it's purely a font issue I did some research on fonts. I found out that \enablemode[lmmath] does the trick (https://www.contextgarden.net/Math_fonts is useful resource). Oh well, everything is fine again and I can keep contexing stuff :) Thank you!   -Eric

Re: [NTG-context] Inline math with \int and \sum exhibits nonstandard behaviour

2019-05-16 Thread Henri Menke
On 16/05/19 7:46 AM, Eric Scmidt wrote: > Thank for your efforts to help me. This time I used the exact code snippet > you > wrote, but the results for inline math is still not what I would like to have > since I do see a clear difference in the limits placement. Please see t

Re: [NTG-context] Inline math with \int and \sum exhibits nonstandard behaviour

2019-05-16 Thread Eric Scmidt
Thank for your efforts to help me.  This time I used the exact code snippet you wrote, but the results for inline math is still not what I would like to have since I do see a clear difference in the limits placement. Please see this image where I have tried to make more clear what I really want

Re: [NTG-context] Inline math with \int and \sum exhibits nonstandard behaviour

2019-05-12 Thread Henri Menke
}_^{m} where you are using \sum\nolimits_{k=1}^{n} Cheers, Henri On 11/05/19 7:42 AM, Eric Scmidt wrote: > Hello everyone! > So, I have some inline math in my document,and it's looking too big or > "airy"; a > bit like when \nolimits is specified in display mode b

[NTG-context] Inline math with \int and \sum exhibits nonstandard behaviour

2019-05-11 Thread Eric Scmidt
Hello everyone!   So, I have some inline math in my document,and it's looking too big or "airy"; a bit like when \nolimits is specified in display mode but smaller. The limits are placed next to the symbol when using for example pdflatex, and I prefer this tight way for i

Re: [NTG-context] inline textbackgrounds across linebreaks

2019-01-16 Thread Aditya Mahajan
On Tue, 15 Jan 2019, Taco Hoekwater wrote: On 15 Jan 2019, at 15:08, Mohammad Hossein Bateni wrote: I guess it works fine for me on beta 2019.01.07 16:10. Thanks for testing. Sorry, I should have checked myself. On 15 Jan 2019, at 15:22, Hans Hagen wrote: works her ebut better is

Re: [NTG-context] inline textbackgrounds across linebreaks

2019-01-15 Thread Aditya Mahajan
On Tue, 15 Jan 2019, Taco Hoekwater wrote: Hi, Quick explanation: I am trying to implement the concept of the HTML tag, which is supposed to be like a font switch, but doing underlining. I have a bunch of french clients, and this is a requirement I cannot get around. French officials _love_

Re: [NTG-context] inline textbackgrounds across linebreaks

2019-01-15 Thread Taco Hoekwater
> On 15 Jan 2019, at 15:08, Mohammad Hossein Bateni wrote: > > I guess it works fine for me on beta 2019.01.07 16:10. Thanks for testing. Sorry, I should have checked myself. > On 15 Jan 2019, at 15:22, Hans Hagen wrote: > works her ebut better is probably: > > \definebar[tacobar]

Re: [NTG-context] inline textbackgrounds across linebreaks

2019-01-15 Thread Hans Hagen
On 1/15/2019 2:36 PM, Taco Hoekwater wrote: Hi, Quick explanation: I am trying to implement the concept of the HTML tag, which is supposed to be like a font switch, but doing underlining. I have a bunch of french clients, and this is a requirement I cannot get around. French officials _love_

Re: [NTG-context] inline textbackgrounds across linebreaks

2019-01-15 Thread Mohammad Hossein Bateni
I guess it works fine for me on beta 2019.01.07 16:10. On Tue, Jan 15, 2019 at 8:37 AM Taco Hoekwater wrote: > Hi, > > Quick explanation: I am trying to implement the concept of the HTML > tag, > which is supposed to be like a font switch, but doing underlining. I have > a > bunch of french

[NTG-context] inline textbackgrounds across linebreaks

2019-01-15 Thread Taco Hoekwater
Hi, Quick explanation: I am trying to implement the concept of the HTML tag, which is supposed to be like a font switch, but doing underlining. I have a bunch of french clients, and this is a requirement I cannot get around. French officials _love_ underlining and uppercasing :( Because of its

Re: [NTG-context] How to do an inline itemization?

2018-08-10 Thread Jeong Dal
Dear Wolfgang, > > \starttext > \startitemize[n,packed][stopper=)]% [stopper=,right=)] > \item This is a test for the referencing the formula like\par > \item This is a test for the referencing the formula like\par > \item This is a test for the referencing the formula like. > \stopitemize >

Re: [NTG-context] How to do an inline itemization?

2018-08-10 Thread Wolfgang Schuster
\starttext \startitemize[n,packed][stopper=)]% [stopper=,right=)] \item This is a test for the referencing the formula like\par \item This is a test for the referencing the formula like\par \item This is a test for the referencing the formula like. \stopitemize \stoptext Wolfgang Jeong Dal

Re: [NTG-context] How to do an inline itemization?

2018-08-10 Thread Jeong Dal
Dear Hans, Thank you for the solution. It works perfectly. Have a nice weekend. Best regards, Dalyoung % \setupinteraction[state=start] \starttext \startitemize[n,text][stopper=,lefttext=,] \item This is a test for the referencing the formula like\par \item This is a test for the

Re: [NTG-context] How to do an inline itemization?

2018-08-10 Thread Hans Hagen
On 8/10/2018 8:09 AM, Jeong Dal wrote: Dear Thomas, Using your example, \starttext \startitemize[n,text] \startitem One \stopitem \startitem Two \stopitem \stopitemize \stoptext I tested the following example and it is working well. % \starttext \startitemize[n,text] \item This is

Re: [NTG-context] How to do an inline itemization?

2018-08-10 Thread Jeong Dal
Dear Thomas, Using your example, > \starttext > > \startitemize[n,text] > \startitem > One > \stopitem > \startitem > Two > \stopitem > \stopitemize > > \stoptext > I tested the following example and it is working well. % \starttext \startitemize[n,text] \item This is the first

Re: [NTG-context] How to do an inline itemization?

2018-02-28 Thread Thomas A. Schmitz
On 02/28/2018 11:33 AM, Dr. Thomas Möbius wrote: How to do an in-line / in-text itemization? I would like to (i) enumerate something (ii) in the text (iii) but I don't know how. Thank you! Thomas \starttext \startitemize[n,text] \startitem One \stopitem \startitem Two \stopitem

[NTG-context] How to do an inline itemization?

2018-02-28 Thread Dr . Thomas Möbius
How to do an in-line / in-text itemization? I would like to (i) enumerate something (ii) in the text (iii) but I don't know how. Thank you! Thomas ___ If your question is of interest to others as well, please add

Re: [NTG-context] (again) \typebufferinline for XML inline code

2017-08-02 Thread Pablo Rodriguez
On 08/02/2017 11:21 AM, Hans Hagen wrote: > On 8/1/2017 9:12 PM, Pablo Rodriguez wrote: >> Many thanks for your reply, Hans. >> >> I’m afraid this isn’t what I was looking for. > > i'll make \xmlinlineprettyprinttext but there is where this madness stops Many thanks for the implementation, Hans.

Re: [NTG-context] (again) \typebufferinline for XML inline code

2017-08-02 Thread Hans Hagen
inline code in XML. \startbuffer[foo] foo \bar{crap} \stopbuffer \starttext \typebuffer[foo] \stoptext Many thanks for your reply, Hans. I’m afraid this isn’t what I was looking for. i'll make \xmlinlineprettyprinttext but there is where this madness stops As shown in the following

Re: [NTG-context] (again) \typebufferinline for XML inline code

2017-08-01 Thread Pablo Rodriguez
’t the suppression of line breaks inside, but >> avoiding the addition of line breaks after and before the typed buffer. >> >> I have been reading buff-ver.mkiv, but I’m afraid I cannot contribute >> such a patch. >> >> This is essential to have \xmlprettyprinti

Re: [NTG-context] (again) \typebufferinline for XML inline code

2017-08-01 Thread Hans Hagen
-ver.mkiv, but I’m afraid I cannot contribute such a patch. This is essential to have \xmlprettyprintinline and \xmlprettyprintinlinetext in order to handle inline code in XML. \startbuffer[foo] foo \bar{crap} \stopbuffer \starttext \typebuffer[foo] \stoptext

[NTG-context] (again) \typebufferinline for XML inline code

2017-07-31 Thread Pablo Rodriguez
. This is essential to have \xmlprettyprintinline and \xmlprettyprintinlinetext in order to handle inline code in XML. Many thanks for your help, Pablo -- http://www.ousia.tk ___ If your question is of interest

[NTG-context] inline code in XML

2017-07-28 Thread Pablo Rodriguez
Hans, many thanks for having added \xmlprettyprinttext to ConTeXt. I have now another problem with inline code: \definetype[TeX][option=TEX, lines=hyphenated] \starttext \startTEXpage[offset=1em] This is inline code: \TeX{\command[option=value]{final text}} \startXML Inline code: \TeX[option

Re: [NTG-context] Inline stacking of text

2017-04-14 Thread Meer, Hans van der
The following was in answer to 3/11/2017 4:52 PM, Pavneet Arora: On 13 Mar 2017, at 00:27, Hans Hagen > wrote: \starttext \start \definefont[whatever][Sans at 50pt] \dontleavehmode\inframed [foregroundstyle=whatever,

Re: [NTG-context] Inline stacking of text

2017-03-12 Thread Hans Hagen
On 3/11/2017 4:52 PM, Pavneet Arora wrote: Really simple problem that has had me bashing my head for a while, so I thought that I would reach out and ask for help: I need to create large type title/sub-title combinations in-line. I need the sub-titles to be stacked so that they share the same

[NTG-context] Inline stacking of text

2017-03-11 Thread Pavneet Arora
Really simple problem that has had me bashing my head for a while, so I thought that I would reach out and ask for help: I need to create large type title/sub-title combinations in-line. I need the sub-titles to be stacked so that they share the same baseline as the title. Unfortunately, I

Re: [NTG-context] base64 encoded inline images

2016-10-28 Thread luigi scarso
On Fri, Oct 28, 2016 at 1:46 PM, Henning Hraban Ramm <te...@fiee.net> wrote: > Hi, > can ConTeXt handle base64 encoded inline images, and how? > > I'm trying to process some HTML files that contain those. Makes not a lot of > sense, but if ConTeXt can handle them, I don’t

[NTG-context] base64 encoded inline images

2016-10-28 Thread Henning Hraban Ramm
Hi, can ConTeXt handle base64 encoded inline images, and how? I'm trying to process some HTML files that contain those. Makes not a lot of sense, but if ConTeXt can handle them, I don’t need to extract them as files. Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net https

Re: [NTG-context] Text inline fractions

2016-06-25 Thread Thomas Fehige
Lovely, thanks Wolfgang! (Wish I knew how to find such things on my own.) Cheers -- Thomas Am 22.06.2016 um 15:45 schrieb Wolfgang Schuster: Thomas Fehige <mailto:tho...@fehige.de> 22. Juni 2016 um 14:34 Is there a clean and easy way in mkiv to create text inline fractions with a

Re: [NTG-context] Text inline fractions

2016-06-22 Thread Wolfgang Schuster
Thomas Fehige <mailto:tho...@fehige.de> 22. Juni 2016 um 14:34 Is there a clean and easy way in mkiv to create text inline fractions with a slash; something like 1{}^1/_2 to mean one and a half? \definefontfeature[fraction][frac=yes] \definehighlight[textfraction][style={\feature[+][fr

[NTG-context] Text inline fractions

2016-06-22 Thread Thomas Fehige
Is there a clean and easy way in mkiv to create text inline fractions with a slash; something like 1{}^1/_2 to mean one and a half? Thank you -- Thomas ___ If your question is of interest to others as well, please

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-18 Thread Hans Hagen
On 2/18/2016 9:37 PM, Mojca Miklavec wrote: On 18 February 2016 at 10:22, Hans Hagen wrote: this brings up the question: would users (here) start using real math unicode input if we had a monospace math font? On Mac (TextMate, but I assume other editors would behave the same) the system

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-18 Thread Mojca Miklavec
On 18 February 2016 at 10:22, Hans Hagen wrote: > > this brings up the question: would users (here) start using real math > unicode input if we had a monospace math font? On Mac (TextMate, but I assume other editors would behave the same) the system probably does some character substitution, so

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-18 Thread Marcin Borkowski
On 2016-02-18, at 10:22, Hans Hagen wrote: > this brings up the question: would users (here) start using real math > unicode input if we had a monospace math font? FWIW, you can have Emacs automatically display ∫ in place of \int etc. in your file (and this is no real

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-18 Thread Meer, Hans van der
On 18 Feb 2016, at 10:16, Hans Hagen > wrote: also, DEK used a keyboard with some special characters (probably dating from those assembler like computer languages) which is why the plain tex format has: Could it have been a keyboard especially for the APL

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-18 Thread Hans Hagen
On 2/18/2016 1:38 AM, Alan BRASLAU wrote: On Thu, 18 Feb 2016 00:40:39 +0100 Pablo Rodriguez wrote: Excuse me, Alan, this is exclamation in Spanish (and only in Spanish). Bigre ! Of course, I know that. Just out of curiosity, why do you think he should have chosen that? I

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-18 Thread Hans Hagen
On 2/18/2016 12:40 AM, Pablo Rodriguez wrote: On 02/17/2016 11:18 PM, Alan BRASLAU wrote: On Wed, 17 Feb 2016 20:08:31 +0100 Hans Hagen wrote: you're an american citizen who likes $x^2$ but to call if beautiful ... €x^2€ nor £x^2£ (in 8 bit encodings / local keyboards times) all look bad ...

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-17 Thread Alan BRASLAU
On Thu, 18 Feb 2016 00:40:39 +0100 Pablo Rodriguez wrote: > Excuse me, Alan, this is exclamation in Spanish (and only in Spanish). Bigre ! Of course, I know that. > Just out of curiosity, why do you think he should have chosen that? I was attempting to make some fun with this

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-17 Thread Pablo Rodriguez
On 02/17/2016 11:18 PM, Alan BRASLAU wrote: > On Wed, 17 Feb 2016 20:08:31 +0100 Hans Hagen wrote: > >> you're an american citizen who likes $x^2$ but to call if >> beautiful ... €x^2€ nor £x^2£ (in 8 bit encodings / local keyboards >> times) all look bad ... > > Hans, you forgot: ¥x^2¥, ₽x^2₽,

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-17 Thread Alan BRASLAU
On Wed, 17 Feb 2016 13:24:53 -0500 Aditya Mahajan wrote: > I am curious to know if there is ANYONE who types in a lot of math > and regularly uses \m{...} or \math{...}. I still use $$ and use > \math{..} or \mathematics{...} only when generating output from lua > code:

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-17 Thread Rogers, Michael K
I use $…$. And for copying text from one TeX to another (e.g. ConTeXt <—> PlainTex/Latex/Markdown/Jax), it would be a pain if I couldn't. Michael > On Feb 17, 2016, at 1:24 PM, Aditya Mahajan wrote: > > On Wed, 17 Feb 2016, Alan BRASLAU wrote: > >> However, I can see

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-17 Thread Aditya Mahajan
On Wed, 17 Feb 2016, Alan BRASLAU wrote: However, I can see situations where one might want to tighten spacing in order to fit a particular expression within a line or in a table, for example. Here, \math[options]{expression} is a reasonable syntax, yet I cannot foresee ever using the very

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-17 Thread Alan BRASLAU
On Wed, 17 Feb 2016 10:44:43 +0100 Hans Hagen <pra...@wxs.nl> wrote: > also, but don't tell alan, there is this: > > \m[i:tight]{} > > i:default, i:tight, i:half, i:fixed I spy... I would suggest that one would set (inline) math spacing and other options (like \math

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-17 Thread Hans Hagen
On 2/17/2016 8:31 AM, Otared Kavian wrote: I agree totally with Alan in saying that the inline math signals $\cdots$ should NEVER be left out from ConTeXt, or even become deprecated. that was never the intention (as one can always run in asciimode) but what's being discussed here is more

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-16 Thread Otared Kavian
I agree totally with Alan in saying that the inline math signals $\cdots$ should NEVER be left out from ConTeXt, or even become deprecated. Indeed many people move mathematical texts from one file to another one, in order to be able to typeset or print it either with ConTeXt, or other macro

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-16 Thread Alan BRASLAU
On Tue, 16 Feb 2016 17:20:04 +0100 Hans Hagen wrote: > On 2/16/2016 4:59 PM, Marco Patzer wrote: > > On Tue, 16 Feb 2016 08:21:42 -0700 > > Alan BRASLAU wrote: > > > >> I do note that the VIM syntax highlighting routine is pretty poor > >> and has

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-16 Thread Aditya Mahajan
On Tue, 16 Feb 2016, Marco Patzer wrote: On Tue, 16 Feb 2016 08:21:42 -0700 Alan BRASLAU wrote: I do note that the VIM syntax highlighting routine is pretty poor and has difficulties around $, which is a symbol that I like using (unpaired) quite a lot in MetaPost

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-16 Thread Hans Hagen
e kind of highlighting that I use here (mixed tex / mp / lua mode) What sort of needs for structure could \m address for inline math? Clearly, an equation to which one might want to have a reference math should appear rather as displayed math. While I agree on that one, writing \math{x^2} clearly state

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-16 Thread Hans Hagen
On 2/16/2016 4:21 PM, Alan BRASLAU wrote: What sort of needs for structure could \m address for inline math? Clearly, an equation to which one might want to have a reference math should appear rather as displayed math.\def\m#1{\startimath you being a mathematics-physics-chemistry mixed mode

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-16 Thread Marco Patzer
ago. He told me that he's not maintaining the syntax files any longer and if I want to take over maintainership. I declined because I know I wouldn't have much time at my disposal the next months. > What sort of needs for structure could \m address for inline math? > Clearly, an equation to

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-16 Thread Alan BRASLAU
On Tue, 16 Feb 2016 09:54:25 +0100 Hans Hagen <pra...@wxs.nl> wrote: > On 2/16/2016 9:22 AM, Nicola wrote: > > I read in the wiki (http://wiki.contextgarden.net/Math) that $…$ > > for inline math is deprecated in favor of \m{…} and more verbose > > variants. Is that r

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-16 Thread Marco Patzer
On Tue, 16 Feb 2016 09:22:23 +0100 Nicola <nvitacolo...@gmail.com> wrote: > I read in the wiki (http://wiki.contextgarden.net/Math) that $…$ > for inline math is deprecated in favor of \m{…} and more verbose > variants. Is that really the case? If so, what is the re

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-16 Thread Hans Hagen
On 2/16/2016 9:22 AM, Nicola wrote: I read in the wiki (http://wiki.contextgarden.net/Math) that $…$ for inline math is deprecated in favor of \m{…} and more verbose variants. Is that really the case? If so, what is the reason and what are the differences? that page probably needs updating

[NTG-context] Deprecated $…$ for inline math?

2016-02-16 Thread Nicola
I read in the wiki (http://wiki.contextgarden.net/Math) that $…$ for inline math is deprecated in favor of \m{…} and more verbose variants. Is that really the case? If so, what is the reason and what are the differences? Nicola

Re: [NTG-context] No escape to TeX for inline typing?

2015-03-03 Thread Christoph Reller
On Sun, 01 Mar 2015 11:30:46 +0100, Hans Hagen pra...@wxs.nl wrote: On 2/28/2015 2:00 PM, Christoph Reller wrote: Dear Hans, Can you please add the above patch, or is there a particular reason for not doing so? Kind regards, Christoph I'll add it but

Re: [NTG-context] No escape to TeX for inline typing?

2015-03-01 Thread Hans Hagen
On 2/28/2015 2:00 PM, Christoph Reller wrote: Dear Hans, Can you please add the above patch, or is there a particular reason for not doing so? Kind regards, Christoph I'll add it but there will only be a new beta when Alan and I are satisfied about the publication

Re: [NTG-context] No escape to TeX for inline typing?

2015-02-28 Thread Christoph Reller
an inline typing command? It works fine from a typing environment. The \type command doesn’t support a escape function but it can be added an additional line in the code (buff-ver.miv): \def\buff_verbatim_type_normal#1% {\buff_verbatim_initialize_type_two \dostarttaggedchained\t

Re: [NTG-context] No escape to TeX for inline typing?

2015-02-17 Thread Christoph Reller
On Tue, Feb 17, 2015 at 16:30:13 +0100, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 17.02.2015 um 16:04 schrieb Christoph Reller christoph.rel...@gmail.com: How do I escape to TeX from inside an inline typing command? It works fine from a typing environment. The \type

[NTG-context] No escape to TeX for inline typing?

2015-02-17 Thread Christoph Reller
Hi, How do I escape to TeX from inside an inline typing command? It works fine from a typing environment. MWE: \setuptyping[TEX][escape={[[,]]}] \definetype[typeTEX][option=TEX] \starttext \startTEX \I\can [[\em escape]] \stopTEX \typeTEX{\I\cannot [[\em escape]]} \stoptext Thank you for any

Re: [NTG-context] No escape to TeX for inline typing?

2015-02-17 Thread Wolfgang Schuster
Am 17.02.2015 um 16:04 schrieb Christoph Reller christoph.rel...@gmail.com: Hi, How do I escape to TeX from inside an inline typing command? It works fine from a typing environment. MWE: \setuptyping[TEX][escape={[[,]]}] \definetype[typeTEX][option=TEX] \starttext \startTEX

Re: [NTG-context] inline footnotes

2015-01-30 Thread mf
of the first footnote 2. This is the text of the second footnote *** inline footnotes (one paragraph for all the footnotes) *** ** 1. first footnote --- 2. second footnote --- 3. the third footnote, extending to the next line --- 4

Re: [NTG-context] inline footnotes

2015-01-30 Thread Wolfgang Schuster
*** *** 1. This is the text of the first footnote 2. This is the text of the second footnote *** inline footnotes (one paragraph for all the footnotes) *** ** 1. first footnote --- 2

Re: [NTG-context] inline footnotes

2015-01-30 Thread Idris Samawi Hamid ادريس سماوي حامد
@ntg.nl Reply To: mass...@fastwebnet.it Subject: [NTG-context] inline footnotes Hello, I'd like to know how to get inline footnotes with ConTeXt. There are some packages in LaTeX (option para in footmisc, manyfoot, bigfoot) providing that feature. How can I do that in ConTeXt? Thanks, Massi

[NTG-context] inline footnotes

2015-01-30 Thread massifr
Hello, I'd like to know how to get inline footnotes with ConTeXt. There are some packages in LaTeX (option para in footmisc, manyfoot, bigfoot) providing that feature. How can I do that in ConTeXt? Thanks, Massi

Re: [NTG-context] Formatting bibliographic inline references and publications list

2015-01-27 Thread Jörg Weger
Now I got it and I got it working :) Thanks a lot! By the way, is there a difference between \cite and \citation? On 27.01.2015 04:59, Alan BRASLAU wrote: On Sun, 25 Jan 2015 20:13:09 +0100 Jörg Weger joerg73@googlemail.com wrote: * normal reference in brackets: author space year, no

  1   2   >